package com.jinzhi.wxpay.config;


import com.jinzhi.wxpay.vo.R;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

@Api(tags = "支付管理")
@RestController
@RequestMapping("api/product1")
public class ProductController1 {


    @ApiOperation("测试接口")
    @GetMapping("test")
    /*public String test(){
        return  "hello";
    }*/
    public R test(){
            return  R.ok().data("message","hello").data("now",new Date());
    }



}
